Added flags for cells