worked on main method logic and some item stuff