fixes #2 - adds support for [x]