Added delete function... Not fully working