adapts spec to core