adding current code for delete functionality - ned to figure out wrapping