Changed variable names to avoid inconvenient circumstances

Regarding the variable 'time':
changed the variable name to 'pingTime'