Finishing the paper. Needs some checks.