add and subtract buttons functional