added get children method
clean up