Used 'let' to simplify spec