a move towards backward compatibility
adding weight switch
implement weight switch