some state related magic