fleshing out the code for the post
first draft done