implementing LoaderInterface