handle checking