added smith prediction controller