selecting method for taking attendance