using let in spec