added random date message logic