added support for citations in the form of [n]