setting values works