added clear to vec