Formatting
Remove duplication from views