add showHidden argument to getChildren method