Functions - Wacky

edited function