added host and port explicitly