allow user to specify mode