Implemented items in Main.java