added delete functionallity