moved SDPreCal from global scope to namespace rspt