Refactor delay() method to be just an int.  Needs to be set in next() anyway so there is no point having it as a function.  int is simpler all round