adding values dynamically