im p sure I'm not the first to come up with deus rex machina so I'm not allowed to be proud of it