refactor into config file