Need help with correct passing values