add zip logic