shouldn't this be part of the reset function instead of the setup??