implement collision desicion