moving to views
added loading