Using unsigned int values in object class