styles from a previous state and more work on restarting