trying to get reset working