successfully added delete functionality. shoutout to @jhendly25