constructor for object

takes position, it is useful