yes but yours need two buffer vectors, u1 and global_buff.