added aliases to 'mode' param