working t(n) for simple loops ++ --