Added console and its functions