del and pi fully working