Adding a new function to the SPRINT package