added collision behavior