update on Unfolding code