Fix bug, must be a static method