no need for a logdate module, just add your hook