Moved require statement to the top