added loader init method