updated searchdecoder to deal with extratypes