added some loading stuff