optimizing..., not finished.