draft implementation of GWC