Wrote an awful proposition function