should be correct: $class[0].$class[1]