implement adding class dynamically