added support for text in brackets and for '...'