implement  collision array