better inject spec