Console program, first version