Added function calls implementation.