DRY up code a bit