minor refactor: adjust recently added utility method
minor refactor: an additional utility method,