decouple name and hostname