simplified calling setValue()