still trying to get the reset working