added a wait of 2s after taking snapshot so the collision map can trigger (has a 1s loop)