changed connection time to on message recieved
fixed revision