Corrert lines order in PetDAO