implement new simple loader