get value from buttons