console version finished