Looping With Spark Amp App