loop class altered