create examples for state interp and create a multi-step example for Error