Refactoring ShowController