Should this really be static? There is a function to switch this mode too.