Better error handling
Pass in initial text