wip: use multiline code segments instead of many lines