glue design doc