Added Ivan functionality.