added function calling and parameters

calling the function a giving it parameters