Change connect with new grammer