specs for new function
failsafe save pid