add getter and setter to context