Added attributes and text view