global is not needed here