Added text functionality