main loop full function, @students implemented