added methods for readability auto correct input