1. remove unnecessary global declarations;