wws basis structure
earlier debug patches