aur rewrite. Gotta find a better name for it.