Better coding and one global file