created hideAll function to simplify things