Took out main method