core setup