rework promise chaining. Improve console feedback.