chaining promises works now.