added crude console impl