converted code to spr-1
converted code to spr-1