added debug loader