add accessor class