worked on config loading