Reduce code duplication
Rename variable for consistency