removed legacy code and old carousel code