add nil and Buffer