selectable prompt and avoiding magic numbers