Added title and pattern attribute
Fixed spacing