Working software with log output. Really slow.