added necessary stuff for my code to run