fix for polarity not getting set properly, add polarity as optional parameter in start