finishing up first iteration