Console boilerplate stuffs