simplifies option check