add Boolean attribute and glue