SH bugfix

Fixed function 2, repeated run