tried to make mvc look neater