Old code just put here for review.