First messy implementation of markup stored in controller