simple notes on futures and promises