simplify specs thanks to rodzo's before/after/===f