M/having analysis