Added modintvar and modsearch