trying to get rid of global pointers