Properly replaced shift - was missing ( ) arounf $hash