added flags and smear for met