time returned is in milliseconds...