generalize options a bit