adding feature to delete pics