Wouldn't doing this being more efficient, If button(3)==16 then x=x+1