progress on resolve()... assert is not a function