Add collision detection on functions. More work to do : too much nervous !