template work state