Add collision detect