static method worked