adjust spec to implementation