first commit with som.c basic code