ADAPT: generalizing SPR routines