Added clear to the global after we use it so it doesn't continuously get bigger for no reason