opening up access to attributes to protected