Progress report L5

todo:
-functional correctness
-resource usage