Graham takes out close contest