console code