code  for football tasks