'choose function' added and eliminated conditions in Emtp