state defaults to 0