Added loop class