using hidden instead of hide