add getbyparentid method