| update: refactor the gwen library.