using suitable amount of devices