updated  object and added a little more documentation