first draft of loopExpression