parse locals