temporary place for new version of main library proj code