write result in src files