order arguments correctly