removed extraneous let clause in 4