add get_id to particles data and option for calling functions