mark console code