some tests to see collision working, lots of to-be-discarded code