static sm generation added