added loading tempate