add two new RSL utility functions