Rewrite to use (>>)