first iteration of gigasecond problem