change and init broken, need to add logfile