comment unused lastMessaged code