Main method added