Easier way to make promise