before changing to table layout