add function to detect advanced stepping commands