simplify Punch card cell
merge code