console and register