added the rate parameter to inputs / outputs