modified slider model cud to be instanitable
modified slider model cud to be instanitable