Updated example controller