Using global console