adding config method to read string array