sparr-internal function

Internal sparr functions