Latest version

Almost every function is fine.