puzzle solved by michal;