Added srt function, but it's untested