reading code trying to comprehend current architecture