moved accessors back to scope
render encapsulated