Here have a rewrite