change to static method