is also duplicate code