added get children subscriber functionality
clean code refactor