Not sure what that (unused) variable is doing there