added flags to world cells