added many modes, most notibly malabar mode