got text functionality to work. need to work out how to test effectively