remove 1 line of code duplication.