add web code and c code