Defining EPL function

Use the below code to make a basic function.