coding some tests and adding remove Strucuture