Improve readability and add header before game check