change the function name to RPSLS