Cleaned up some code beginning delete posts

putting this up for p2 Peer Review