Sometimes writing a program causes late nights.