custom for-loop progress