change "using namespace std" to explicit imports
implement 's' (step)