iterated, cleaned up vars