adding loading stuff