Use mapper function instead of DRY