state stuff+buttons