added destroy project function