checking both