#7 adding missing console code