confirm end() docs