starting client layer