reduce execs by four, and eliminate a logic bug