delete some constants, add some docs