refactor: replace on static method