Refactoring a bit
Refactoring (DRYifying)
Making lint happy