Changed state to data