removed Main class becasue it wasn't doing anything
added stock checking