Some notes on promises + formatting