It's bad put all logic in View -> Controllers.