final version submitting to cousera