rate needs to be a parameter with positive or negative value… and fix input module with last changes