factor out separate prefix