finished console demo