add is_accepted method