Imlementing communication logic