got rid of 5 character limit in CheckText function for return_string branch