re-coded buttons