puzzle solved by Facundo Rodriguez