Function calls now working with multiple parameters