moved zip creation to model