Fixed subroutines accepting parameters in reverse order