second pass added a few more elements