updated alt_accessor code