+ logging, signal handling