added demographics logfile
fixed #17