adding slider capability, some errors