linking import to common pg. compiles not tested.