added flags to posts