missing var? i think this makes str global