need to figure out how to make anommean do all 3 means automatically
edited if/else statements in all - else must be on same line as closing bracket. anommean updated. now must put all together in for-loop to get all blocks