added $inc operator and test