change step definition and spec to match new code