Committing Wacky Functions. added function and variables.