removed unused err