STM model on C - Master project