added show and hide methods