i don't think it compiles but added comments / questions. lmk if you want elaboration on anything