added show/hide interaction