#30 Set the mode in the correct location