added var for number of expressions
Reassigned work tasks