update createNav instance method to static method