remove logic from show controller