Variable read and function call passing