Returned correct function call