DRY up the code a bit

Just DRYin' it up