$current being surround in quotes is fine. It doesn't have to be since it is an int value but doesn't cause any problems when it is.