Deleted unnecessary promises