added comments, and worked through the logic

so now we just have implimentations