pass in mode