introduced checkBeforeLoads