wacky function added.