created function to identify misset hands