added corners and states