added host and client