Added some console functions