converted instance methods to static