made playstate inheritable