trying to get a decent matching algorithum put together but its damn hard