No need to write new-state as function