last before fork
simple but full version
foolish version