finished the loader class