move require to initialization