finalize local vars pre-initialization, all tests pass