updated stateful
Merge remote branch 'upstream/master'