fixed the instance methods