simplified restpack context