Multi-step function parameters not found