adding overlay class