use member function to check of options