Completed Wacky Function

Completed Wacky Function