added clinet side communication