added functionality/test for regime to not generate message in the past.