That's should be placed in controller but not in template