First cut of almost working system