forgot to add the loop variable counter varStatus