corrected adding and getting child objects
implemented remove()