added support for step duration