slider print value works