for stan homework