Better sl function for arm