wrote again a few lines of the object class