Function arguments now working