putting datenow into debug