My solution of Software Foundations