registering sw