removed valueStack parameter, use withValueTack instead for code bodies