changed the access method