console version written