striped code and fixed vars clobering the global