splitting out client