non-nested version with unknown data