center-aligned content
changed view to use set methods