removed unnecessary promise