getting loading stuff working