make loader working so far