Major functionality done.