Adding functionality to the show action