revert promises...did not solve anything. neither async.