Set the sr, copied Artem's old code. I'd like to thank the spirit of academia for that one