diffrent way of chekcing