Adding method for getting children in state