added better accessor methods