add extend method

Added extend method for timer instance