implemented collision checks for all but circles