to not use the promise(functional) feature