add accessor for scope