Forgot a few function prototypes, and a header