replaced var loading to require