Add reinit function
wip