Fixed main class & abstract methods