Working on the hardware for loop