got all files compiling; need to rework intersection