code for znaika project