foundation lib for sswilliam