add support for smp option too