Should probably be a slower algorithm...