edit | 006: abstracted range to let