added repetitions to find gsa