also allow setting host?