now passing args into functions