removed recursivity on reveal
Takes into account secured reveals