solving zs!