changed loading procedure