Task 1 stuff, continue from console-q part.