needless golf code refactoring because @dogsdoingthings is the best twitters