pass class id directly rather than assign dynamically;