6/26/14: still sporadically working on if-else