(kind of) working collision resolution