Fixed Main Method