Quite hard to read. Can you leverage promises more to improve readability?