changed to config loader