we have working collision code