Restructured conditional statements in eval