fixed collision doublecheck, added collision behavior