automatically add brackets to something like '1;2;3', and added % operator