added some instance methods
added some instance methods fixes