use unzip in the right way