calling the process function