added state example to hubo-loop