Duplicate code; this was already done a few lines earlier.
refactoring to aid my understanding and improve readability