Try to implement main class