add states controller