add accessor code