match function is broken, it doesn't update properly, need to figure out exactly what it is.