Added senttext and functionality