add initial value correctly