updating the delete and try again functions, added inc files