I should probably actually pass the $data array into the view
Style fixes