change how to refer modes