added setIncrement method. Fixed  setIncrement method