added methonds into the objects