Refactor to compound result