added textext, cleaned up some of unnecessary api calling