move require statement