added title styles to class and an example