Codes from ny blog