Empty brackets checker added