first step toward proper globals and real objects