working on changing to config file