doing increment within the assignment instead