First Commit: Added functionality for each function