Indicated global vars, added score