adding value to inputs