add collision function, haven't called it yet