tl;dr: everyone loves pattern matching.