refactor take to unfold right