Unhappy nexus 7 cm 10.2

So recently i got hold of a 2012 nexus 7. i installed twrp and downloaded cm 10.2. but if i try to flash it in twrp recovery it just says failed. any help is welcome....Sam