Paramererised version of sm etc etc (using -parameter switch)