rewrote spec