changed call_option method to use a case method