refactor: provide more clarity around condition