add current doc and arrage it