added intersection code and features upload