removed throws on mainmethod