added clear variables