add opportunity to get state in init proc