add support for [] and check buttons