check win method added