refactor for renne creation