hides two main elements