Moved require to top