added stuff to the loader