working on low level i/o and console