trying to get first iteration working