Added frame(r,c) for HW08