refactor IOT