add pdf about programming logic