added my wacky functions code