added no option validation and updated main_spec