Completed Whacky Function.

Completed Whacky Function.