added command line option spsmul