renamed state to brick