takes attendance