forgot 1 line in refactor