use && to combine these 2 conditions?