Using promises as default