Finsihed a terrible version of ex45