added loading layer