added delete_values() function