Improved FutureState example