adding method for creating fluent accessor