debugged issue where objects would overlap