Do not use elements of presentation logic in controller