add code to check the required css class