code source from begining in c