move require to the top