back to using state field