added class cell
added logic with class cell