implement basic text attributes