move to instance methods