added ref to config and setup