spec-functions