Added rest & work states