Refactor smart aleck