small changes to boxes and glue