works on plain text