sm and p