stan addition

added stan code