moved setup out of root