putting iskeepalive in boolean