config - part 2
converted strings to enums