Replaced hide with class