dropped ind from example
uses access functions