modified alt_accessor code and tests