adding logging
ssmpt