refactor: use system method