added console. snippet