controller hidden code added as suggestion/advice for beginners