move initialization of default to EOF
add location lookup by name