refactored to text based client