Changed named of senate to state_senate