write and pass specs