agree, it's code duplication