Merged all positive mem checks into one statement