log and stuff to demo problem