restricting to 1.7 as spark is dependent on that version