removes extraneous promise variable to close #6