intermediate collision detector class not finished