added support for single bracket parsing