made a branch testing
changes to fix contactdetection