needed to declare global