added more options to document