determination in three modes