Code for the Ivash