Similiar to two check statements