Added working collision function call.