config functions in new file