post increment should give a++; previously it was ++a;