cleaning up specs format