Figured out .then() and modularization