adds class to composite layer 2