getting the right css class