adding existing C solutions