chomp method add + class name change + make regex to constant