refactor places to result