added old solution.