add foundation lib