added support for bracket lookups