Adding Functions Back In

Accidentally delted a few functions. Just added them back in.
Commit