add get function to job and snapshot