added documentation to the x object constructor