added arguments to show/hide