add style for #text
add some methods