belatedly commiting the spec
adding another line check
refactoring