added slice .hide, removed unecissary