implemented functions get/set timeout