formatted the view