started to get near-singular integration implemented