adding static writeModel method