Refactor codes and collision detection.