separate loader file