H/substr

try preventing generating local vars