almost working, all instruction written.