minor refactor: adjust recently added utility method