too many globals