refactor cool examples