add a 'get' method