improved naming of local variables in security group class