Working version. Adjusted future window simulation