simplified pyne amalgamation