Added utility drawing function