used Item class as a base class for all the other item classes