modularize method
set state to StateFirst when collision detected