A rewrite of Tea.