removed unneeded promise creation