Added Main method