new slider code and communication