Removed auto function