attempt at a single process version