Main method was cleaned