mode is not a parameter here, no need for doc