Implemented the inter-function call flow further